package net.jltec.config;

public class AppConfig {

	public static final String CONSUMER_KEY="myKey";
	public static final String CONSUMER_SECRET="mySecret";
	
	public static final String REQUEST_URL="http://10.168.1.100:8080/sm/oauth/request_token";
	public static final String ACCESS_URL="http://10.168.1.100:8080/sm/oauth/access_token";
	public static final String AUTHORIZE_URL="http://10.168.1.100:8080/sm/oauth/authorize";
	
	public static final String ENCODING="UTF-8";
	
	public static final String OAUTH_CALLBACK_SCHEMAE="x-oauthflow";
	public static final String OAUTH_CALLBACK_HOST="callback";
	
	public static final String OAUTH_CALLBACK_URL=OAUTH_CALLBACK_SCHEMAE+"://"+OAUTH_CALLBACK_HOST;
	
	
	
	
	//待办审批模块ID
	public static final int TASK_MODE_ID=1;
	
	//日程安排
	public static final int DAYS_MODE_ID=2;
	
	//appid
	public static final int APPID_SM=10;
	
	
	
	
	/*API*/
	/**
	 * 显示待审批
	 */
	public static final String GET_FLOW_TASK="http://10.168.1.100:8080/sm/api/sm/showFlowByUser.action";
	/**
	 * 获取审批意见信息
	 */
	public static final String GET_FLOW_BY_WINID="http://10.168.1.100:8080/sm/api/sm/flowTaskByWinid.action";
	/**
	 * 审批
	 */
	public static final String GOTO_NEXT_FLOW="http://10.168.1.100:8080/sm/api/sm/getoNext.action";
	
	
	/**
	 * 获取一个审批
	 */
	public static final String GET_FLOW_BY_WIID="http://10.168.1.100:8080/sm/api/sm/getFlowByWiid.action";
	
	
	/**
	 * 登陆
	 */
	public static final String LOGIN="http://10.168.1.100:8080/sm/api/sm/loginApp.action";
	
	
	   
	
	
}
